#version 450
layout(local_size_x = 8, local_size_y = 8) in;
layout(set = 0, binding = 0, rgba8) uniform writeonly image2D image;

void main()
{
    ivec2 pos = ivec2(gl_GlobalInvocationID.xy);
    if (mod(pos.x, 16) < 8)
        imageStore(image, pos, vec4(1.0, 0.0, 0.0, 1.0));
    else
        imageStore(image, pos, vec4(0.0, 0.0, 0.0, 1.0));
}